﻿// HSS.Interlink.DebugMessageDialog.xaml.cs
// ----------------------------------------------------------------------------
// Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.html)
// ----------------------------------------------------------------------------
// HighSpeed-Solutions, LLC
// Copyright (c) 2001-2010
// ----------------------------------------------------------------------------
// File:       DebugMessageDialog.xaml.cs
// Author:     HSS\gbanta
// Created:    07/16/2011
// Modified:   07/22/2011
// ----------------------------------------------------------------------------
using System.Windows;
using System.Windows.Controls;

namespace HSS.Interlink
{
	/// <summary>
	/// DebugMessageDialog
	/// </summary>
	public partial class DebugMessageDialog : ChildWindow
	{
		/// <summary>
		/// Constructor
		/// </summary>
		public DebugMessageDialog()
		{
			InitializeComponent();
		}

		/// <summary>
		/// Gets or sets the debug message
		/// </summary>
		public string Message
		{
			get { return this.txtRichText.Text; }
			set { this.txtRichText.Text = value; }
		}

		private void OKButton_Click(object sender, RoutedEventArgs e)
		{
			this.DialogResult = true;
		}

		private void btnCancel_Click(object sender, RoutedEventArgs e)
		{
			this.DialogResult = false;
		}
	}
}